//
//  UIImage+Resize.h
//  WhereToEat
//
//  Created by WTFSSD on 2017/6/5.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Resize)


#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
/**
 *  图片缩放
 *  @param aCGSize
 *  @return UIImage *
 */
-(UIImage*(^)(CGSize))scaleToSize;


/**
 *  图片渲染类型
 *  @param aUIImageRenderingMode
 *  @return UIImage *
 */
-(UIImage*(^)(UIImageRenderingMode))setRenderingMode;


#pragma clang diagnostic pop


+(instancetype)imageWithColor:(UIColor *)color size:(CGSize)size;
@end
